package com.easy.easy.dao;

import com.easy.easy.bean.Category;
import com.easy.easy.bean.Collect;
import com.easy.easy.bean.Product;
import com.easy.easy.util.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CollectDao {
    int add(@Param("collect" ) Collect collect);
    int delete(@Param("productid") int productid,@Param("userid") int userid);
    List<Collect> getList(@Param("page") Page page, @Param("text")String text);
    int getCount(@Param("text")String text);
}
